.toolbar {
    height: 100%;
    background: #000000D9;

    .svg-size {
        width: 18px;
        height: 18px;
    }

    .display {
        display: flex;
        align-items: center;
        padding-right: 10px;
    }

    .nav-container {
        width: 100%;
        height: 42px;
        display: flex;
        align-items: center;

        .left-wrap {
            width: 240px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            .nav-logo {
                // display: block;
                // height: 35px;
                display: flex;
                align-items: center;
                margin-left: 15px;
                > span {
                    padding-left: 5px;
                }
                > img {
                    cursor: pointer;
                }
            }
        }

        .middle-menu-wrap {
            width: calc(100% - 240px);
            height: 42px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: $FontGray;
            font-size: 13px;
            user-select: none;
            font-weight: 600;

            .item {
                width: 66px;
                height: 26px;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
            }

            .active {
                background: $PoPBackGroundColor;
                border-radius: 5px;
                color: $FontWhite;
            }

            .item2 {
                width: 40px;
                height: 30px;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;

                &:hover {
                    background: $PoPBackGroundColor;
                    border-radius: 5px;
                }
            }
            .item-share {
                width: 56px;
                height: 28px;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                border-radius: 4px;
                color: #FFFFFF;
                background: #0D99FF;
                &:hover {
                    background: rgba($color: #0D99FF, $alpha: 0.9);
                }
            }
        }
    }

    .nav-bottom-column {
        width: 100%;
        height: 40px;
        margin-bottom: 1px;
        display: flex;

        .box {
            background-color: rgb(33, 33, 33);
            margin-right: 1px;
        }

        .left-tabs {
            width: 239px;
        }

        .middle-btn {
            width: calc(100% - 491px);
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: $FontGray;
            font-size: 13px;
            user-select: none;
            padding: 0 3px;

            .item {
                width: 40px;
                height: 30px;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;

                &.active,&:hover {
                    background: $PoPBackGroundColor;
                    border-radius: 5px;
                }
            }

            .display {
                position: relative;

                .btn-label {
                    font-size: $Font12;
                    color: $FontGray;
                    font-weight: 600;
                    margin-left: 10px;
                }

                ::v-deep .el-input--mini .el-input__inner {
                    height: 20px !important;
                    line-height: 20px !important;
                    background: $PoPBackGroundColor  !important;
                    border: none !important;
                    padding: 0 5px !important;
                    color: $FontWhite  !important;
                }

                .resize-input::v-deep .el-input--mini .el-input__inner {
                    background: transparent !important;
                    text-align: center !important;
                    margin-left: -3px;

                    &:hover {
                        background: $PoPBackGroundColor  !important;
                    }
                }

                .resize-input::v-deep .el-input__suffix {
                    right: 0px !important;
                    top: 2px !important;
                }

                .resize-icon {
                    width: 18px;
                    height: 18px;
                    border-radius: 50%;
                    background: #ffffff0f;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    margin: 0 5px;
                    cursor: pointer;

                    &:hover {
                        background: $PoPBackGroundColor;
                    }

                    .svg-size {
                        width: 10px;
                        height: 10px;
                    }
                }

                .canvas-sider {
                    display: flex;
                    z-index: 999;
                    position: absolute;
                    align-items: center;
                    justify-content: space-between;
                    top: 25px;
                    right: 0;
                }
            }
        }

        .right-container-wrapper {
            width: 250px;
            margin-right: 0;
            display: flex;
            align-items: center;
            color: $FontWhite;
            font-size: 13px;
            user-select: none;
            padding: 0 3px;

            .item {
                width: 30px;
                height: 30px;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;

                &:hover {
                    background: $PoPBackGroundColor;
                    border-radius: 5px;
                }
            }
        }
    }

    .popover {
        max-width: 530px;
        min-width: 396px;
        overflow-y: hidden;
        z-index: 2;
        padding: 6px 0;
        position: absolute;
        left: 240px;
        top: 43px;
        background: $BackGroundColor;

        .pop-title {
            font-size: 13px;
            color: $white;
            display: flex;
            align-content: center;
            padding: 0 6px;
            margin: 0 6px 6px 6px;
            justify-content: space-between;
            line-height: 25px;
            background: #303030;
            border-radius: 5px;

            img,
            i {
                cursor: pointer;
            }
        }

        .pop-main {
            width: 100%;
            max-height: 405px;
            overflow-y: auto;

            .pop-main-display {
                display: flex;
                flex-wrap: wrap;
            }

            .pop-img {
                width: 30px;
                height: 30px;
            }

            .pop-main-card {
                background: #303030;
                margin: 6px 6px;
                padding: 6px;
                color: $FontGray;
                cursor: grab;
                user-select: none;
                height: 75px;
                width: 75px;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-wrap: wrap;
                border-radius: 4px;
                font-size: $Font12;

                &:hover {
                    background: #3664ec;
                }

                div {
                    width: 100%;
                    text-align: center;
                }
                > img {
                    width: 100%;
                }
                > svg {
                    width: 35px;
                    height: 35px;
                }
            }

            .media-card {
                position: relative;

                .media-delect {
                    position: absolute;
                    top: 0;
                    right: 0;
                    cursor: pointer;
                }

                .element-name {
                    width: 100%;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    word-break: break-all;
                }

                .custom-edit {
                    position: absolute;
                    top: 0;
                    right: 0;
                    text-align: right;

                    i {
                        cursor: pointer;
                        margin-left: 5px;
                        font-size: 14px;
                    }
                }
            }

            .pop-charts-card {
                background: #303030;
                margin: 6px 6px;
                width: 160px;
                height: 90px;
                border-radius: 4px;
                cursor: grab;

                .pop-charts-img {
                    width: 100%;
                    height: 100%;
                    fill: #ffffff;
                }

                &:hover {
                    background: #3664ec;
                }
            }

            .pop-general-card {
                background: #303030;
                margin: 6px 6px;
                width: 35px;
                height: 35px;
                border-radius: 4px;
                cursor: grab;

                .pop-charts-img {
                    width: 100%;
                    height: 100%;
                    fill: $white;
                }

                &:hover {
                    background: #3664ec;
                }
                .icon-card {
                    width: 100%;
                    height: 100%;
                }
            }
        }
    }
}

.cover-slider {
    padding: 0 15px;
}

.main-mas-input-simple {
    margin-right: 36px;
}

.cover-slider ::v-deep.el-slider__bar {
    background: linear-gradient(90deg, #acdfe4 0%, #fffefd 100%) !important;
    height: 5px !important;
}

.cover-slider ::v-deep.el-slider__runway.show-input {
    margin: 20px 80px 0 5px !important;
    width: calc(100% - 100px) !important;
}

.cover-slider ::v-deep.el-slider__runway {
    height: 5px !important;
    border-radius: 20px !important;
}

.cover-slider ::v-deep.el-slider__input {
    width: 61.8px !important;
    margin: 8px 2px 0 0 !important;
}

.cover-slider ::v-deep.el-slider__bar {
    background: linear-gradient(90deg, #acdfe4 0%, #fffefd 100%) !important;
    height: 5px !important;
}

.cover-slider ::v-deep.el-slider__button {
    width: 12px !important;
    height: 12px !important;
    border: solid 1px #91d5ff !important;
}

.button-disabled {
    cursor: not-allowed;
    opacity: 0.5;
    background: #000000;

    &:hover {
        cursor: not-allowed;
        background: #000000;
    }
}

.distribute-size {
    .size-row {
        display: flex;
        align-items: center;
        justify-content: left;

        .single {
            width: 40px;
            height: 30px;
            text-align: center;
            line-height: 35px;
            cursor: pointer;

            &:hover {
                background: $PoPBackGroundColor;
                border-radius: 5px;
            }
        }
    }
}

.custom-component {
    margin: 10px 0;

    .custom-component-name {
        height: 40px;
        line-height: 40px;
    }

    .tipe {
        color: #f56c6c;
        margin: 5px 5px 0 0;
        font-size: 12px;
    }
}

.pop-item {
    height: 30px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #ffffffd9;
    cursor: pointer;
    padding: 0 15px;
    border-radius: 4px;
    margin-bottom: 1px;

    .canvas-img {
        fill: #FFFFFFE6;
        width: 14px;
        height: 14px;
    }

    &:hover {
        background: #3662ec;
    }
}